package cn.edu.lnpu.service.filesystem;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication//扫描所在包及子包的bean，注入到ioc中
@EntityScan("cn.edu.lnpu.domain.filesystem")
@ComponentScan({"cn.edu.lnpu.api","cn.edu.lnpu.service.filesystem","cn.edu.lnpu.common"})//扫描实体类
public class FileSystemApplication {
    public static void main(String[] args) {
        SpringApplication.run(FileSystemApplication.class,args);
    }


}
